import React from 'react';
import classes from './LineTitle.module.less';

const LineTitle:React.FC<{title?:string}> = (prop:{title?:string}) => (
    <div className={classes["app-line-title-container"]}>
        <div className={classes["app-left-line"]} />
        <div className={classes["app-left-title"]}>{ prop.title }</div>
    </div>
);

LineTitle.defaultProps = {
    title: ''
}

export default LineTitle;
